﻿#ifndef ___PCLIB_S_FFILIB___
#define ___PCLIB_S_FFILIB___


#include "../m_core/m_core.hpp"



/*********************************************************************/
//可选功能：libffi，用于支持动态的c接口调用
/*********************************************************************/
#ifdef PCHAVE_LIBFFI

#if defined(PCOS_WIN)
//解决libffi的bug
#define FFI_BUILDING
#endif
extern "C"
{
#include "ffi.h"
};






#endif //PCHAVE_LIBFFI 



#endif    //___PCLIB_S_FFILIB___